package com.ruicar.afs.cloud.risk.api.dto.business;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 责任人地址信息
 * @Author Peng Jinbo
 * @Date 2020/07/21 21:33
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ApplyDutyPersonAddressInfo implements Serializable {

    /**
     * Apply no
     */
    private String applyNo;

    /**
     * Detail address
     * 详细地址
     */
    private String addressDetail;

    /**
     * Post code
     * 邮政编码
     */
    private String postCode;

    /**
     * Current address live date
     * 现居住地开始时间
     */
    @JSONField(name = "currentAddressLiveDate",format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date currentAddressLiveDate;

    /**
     * House type
     * 房产类型
     */
    private String houseType;

    /**
     * Address type
     * 地址类型
     */
    private String addressType;

    /**
     * Address province
     * 地址所在省
     */
    private String addressProvince;

    /**
     * Address province name
     */
    private String addressProvinceName;

    /**
     * Address city
     * 地址所在市
     */
    private String addressCity;

    /**
     * Address city name
     */
    private String addressCityName;



}
